#include "Trie.h"
#include <iostream>
using namespace std;

int main(){
    Trie trie;
    trie.insert("goodbye");
    if(trie.search("good")){
        cout<<"找到"<<endl;
    }else{
        cout<<"未找到"<<endl;
    }
    cout<<trie.startWith("good")<<endl;
    trie.insert("good");
    cout<<trie.search("good")<<endl;
    return 0;
}